package cn.homework.egmvc2.mapper;

import cn.homework.egmvc2.pojo.entity.Address;

import java.util.List;

public interface AddressMapper {
    // 插入
    int insertAddress(Address address);

    // 查询数据
    List<Address> selectAddress();

    // 删除数据
    int deleteAddress(Integer id);

    // 更新数据
    int updateAddress(Address address);
}
